<%@ Page Language="C#" MasterPageFile="../Master/MasterPage.master" AutoEventWireup="true" CodeFile="ArtigosList.aspx.cs" 
Inherits="Portal_ArtigosList" Title="UMEVOR - Artigos" %>
<asp:Content ID="cphPagina" ContentPlaceHolderID="cphPagina" runat="Server">

    <script language="javascript" type="text/javascript">
    
    function limparCampos()
    {
        
    }
    
    function validarSalvar()
    {
        return true;
    }
    
    function validarExcluir()
    {
        return true;
    }
    </script>

    <table cellspacing="0" cellpadding="0" width="100%" border="0" align="left">
        <tr>
            <td colspan="2" class="texto_titulo_p" style="padding-left: 8px; height: 25px; width: 100%;background-color: #6ABCE1;" align="Left">
                <b>Artigos</b></td>
        </tr>
        <tr>
            <td colspan="2" style="height: 25px; " align="left">
            </td>
        </tr>
        <tr>
            <td style="height: 100%;width: 100%;" align="left">
            <table style="height: 8px; text-align: left;" border="0" class="texto">
                
                <tr>
                    <td style="width: 50%; height: 16px;" align="left" valign="middle">
                        <asp:DropDownList ID="cmbAutor" runat="server" Width="319px" CssClass="combo" TabIndex="2" AutoPostBack="True" OnSelectedIndexChanged="cmbAutor_SelectedIndexChanged">
                        </asp:DropDownList></td>
                    <td align="left" style="width: 50%; height: 16px" valign="middle">
                    <asp:DropDownList ID="cmbArtigo" runat="server" Width="274px" CssClass="combo" TabIndex="2" AutoPostBack="True" OnSelectedIndexChanged="cmbArtigo_SelectedIndexChanged">
                        </asp:DropDownList>
                        </td>
                </tr>
                <tr>
                    <td align="right" colspan="2" style="height: 19px">
                        </td>
                </tr>
                
                <tr>
                    <td align="left" colspan="3" style="height: 19px;">
                    </td>
                </tr>
                <tr>
                    <td align="left" colspan="3" style="height: 19px;"></td>
                </tr>
                <tr align="center">
                    <td align="left" colspan="3" rowspan="2" style="width: 100%">
                    <asp:GridView id="gvArtigo" runat="server" Width="98%" CssClass="texto" AutoGenerateColumns="False" AllowSorting="True" AllowPaging="True" PageSize="20" TabIndex="7" OnPageIndexChanging="gvArtigo_PageIndexChanging" OnRowCreated="gvArtigo_RowCreated">
                    <PagerSettings Mode="NumericFirstLast"  />
                    <FooterStyle CssClass="texto"  />
                    <Columns>
                        <asp:TemplateField HeaderText="Autor">
                            <ItemStyle Width="50%" />
                            <ItemTemplate>
                                <asp:Label ID="lblAutor" runat="server"></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Artigo">
                            <ItemStyle Width="50%"  />
                            <HeaderStyle Width="80px"  />
                            <ItemTemplate>
                                <asp:LinkButton ID="nameLinkButton" runat="server" CausesValidation="false" CssClass="link_azul"></asp:LinkButton>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:BoundField DataField="ID_AUTOR" Visible="False" >
                            <ItemStyle Width="1%" />
                        </asp:BoundField>
                        
                    </Columns>
                    <RowStyle CssClass="grvItemStyle"  />
                    <PagerStyle BackColor="#EA944B" ForeColor="White" CssClass="texto" HorizontalAlign="Center"  />
                    <HeaderStyle BackColor="#EA944B" ForeColor="White" CssClass="texto"  />
                    <AlternatingRowStyle CssClass="grvItemStyleAlternate"  />
                </asp:GridView>
                   </td>
                </tr>
            </table>   
            </td>
        </tr>
    </table>
</asp:Content>

